package com.itheima.reggie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

public interface SetMealService extends IService<Setmeal> {
    void saveSetMealAndDish(SetmealDto setmealDto);

    IPage<SetmealDto> getPage(Integer page, Integer pageSize, String name);

    void deleteSetMealAndDish(List<Long> ids);

    List<Setmeal> getSetMealListByCid(Setmeal setmeal);
}
